package br.com.salao.rest;

import java.util.List;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import br.com.salao.bean.GerencEtapaConfigEstabelecimento;
import br.com.salao.model.GerencEtapasConfiguracaoEstabelecimentoModel;

@Path("/gerencEtapaConfigEstabelecimento")
public class GerencEtapaConfigEstabelecimentoService {

	@GET
	@Path("/{idEstabelecimento}")	
	@Produces({MediaType.APPLICATION_JSON})
	public List<GerencEtapaConfigEstabelecimento> buscarGerencEtapaConfigEstabPorIdEstabelecimento(@PathParam("usuaidEstabelecimentorio")int idEstabelecimento){
		GerencEtapasConfiguracaoEstabelecimentoModel model = new GerencEtapasConfiguracaoEstabelecimentoModel();
		return model.buscarGerencEtapaConfigEstabPorIdEstabelecimento(idEstabelecimento);			
	}
	
}
